package generic1;

/**
 * @Auther: 杨通通
 * @Date: 2024/10/23 23:23
 * @Description:
 */
public class Animal {
    public String name;

    public Animal(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Animal{" +
                "name='" + name + '\'' +
                '}';
    }
}